package com.app.dao.service;

import com.app.dao.entity.Record;
import com.app.model.dto.PageDTO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 记录表 服务类
 * </p>
 *
 * @author admin
 * @since 2023
 */
public interface RecordService extends IService<Record> {
    Page<Record> page(PageDTO pageDTO);

    List<Record> listAll();

    Record getRecordById(String id);

    boolean deleteRecordById(String id);

    boolean addRecord(Record obj);

    boolean updateRecordById(Record obj);
}
